package com.hsmw.schedule.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hsmw.schedule.vo.HomeVolume;
import com.hsmw.common.base.BaseMapper;
import com.hsmw.domain.HsmwLeasingCompany;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

/**
 * @author WD
 */
@Repository
public interface HsmwLeasingCompanyMapper extends BaseMapper<HsmwLeasingCompany> {

	IPage<HsmwLeasingCompany> selectPageVo(IPage page, @Param("name")String name, @Param("linkMan")String linkMan, @Param("tel")String tel);

    HsmwLeasingCompany findLeasingCompanyById(String id);

    List<HomeVolume> findVehicleVolumeByMonth(String id, String month);

    List<HomeVolume> findItemVolumeByMonth(String id,String month);

    List<HsmwLeasingCompany> getAvaliableSelfCompany(HashMap param);
}
